import { defineStore } from 'pinia'

export const usePutStore = defineStore(
  'put',
  () => {
    const tableDataList = [
      {
        id: '91410600567299509600026115250202408260001',
        name: '催化焚烧废催化剂',
        code: '261-152-50',
        status: '未出库',
        statusCode: '0',
        putTime: '2022-01-10 10:00:00',
      },
      {
        id: '91410600567299509600026115250202408260002',
        name: '催化焚烧废催化剂',
        code: '261-152-50',
        status: '上报中',
        statusCode: '1',
        putTime: '2022-01-10 10:00:00',
      },
      {
        id: '91410600567299509600026115250202408260003',
        name: '催化焚烧废催化剂',
        code: '261-152-50',
        status: '上报失败',
        statusCode: '2',
        putTime: '2022-01-10 10:00:00',
        errMsg: '本年度管理计划中未填报该废物，请进行管理计划废物备案后再进行入库',
      },
      {
        id: '91410600567299509600026115250202408260004',
        name: '催化焚烧废催化剂',
        code: '261-152-50',
        status: '已作废',
        statusCode: '3',
        putTime: '2022-01-10 10:00:00',
      },
    ]
    return { tableDataList }
  },
  {},
)
